package com.lemontree.spring4.day04;

import org.springframework.stereotype.Component;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: YLBG-YCY-1325
 * @Description: 自定义注解，类似controller注解定义
 * @Date: 2017/8/25
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Lemontree {
    String value() default "";
}
